<link href="../core/resource/css/emoji.css" rel="stylesheet">
<div class="form-group" {guanlians}>
	<label class="col-xs-12 col-sm-3 col-md-2 right-label" ng-class="{'must':{must}}">{{check_show_lang('{title}')}}</label>
	<div class="col-xs-12 col-sm-8 col-lg-9">
		<textarea style="height:200px;" class="form-control " ng-model="{tovalue}.{name}" cols="70" ng-readonly="{read}"></textarea>
		<div class="help-block">
				<a href="javascript:;" ng-click="pagedata.selectEmoji();">
						<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path fill="#4A4A51" d="M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zm.426 1C4.526 1 .9 4.582.9 9.421.9 13.418 4.526 17 9.426 17c4.048 0 7.674-3.582 7.674-7.579C17.1 4.581 13.474 1 9.426 1zM15 10c-.337 2.978-2.415 5-5.538 5C5.415 15 3.337 12.978 3 10h12zm-2.5-5a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3zm-7 0a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3z"></path></svg>
				</a>
				<a href="javascript:;" ng-click="modal_func({tovalue},'{name}','tools.add_text','add_url','core')">
						<svg xmlns="http://www.w3.org/2000/svg" width="16" height="20" viewBox="0 0 16 20">
									<g fill="#4A4A51" transform="rotate(30 4.75 17.727)">
									  <path d="M3.5.948a3.5 3.5 0 0 1 3.5 3.5l-.001 1.5H5.524V4.474A2.05 2.05 0 0 0 1.43 4.32l-.005.153v4.01a2.05 2.05 0 0 0 1.576 1.995v1.486A3.5 3.5 0 0 1 0 8.5V4.448a3.5 3.5 0 0 1 3.5-3.5z"></path>
									  <path d="M3.5 18.01a3.5 3.5 0 0 1-3.5-3.5v-1.5h1.476v1.45a2.05 2.05 0 0 0 4.095.152l.005-.153v-3.978A2.05 2.05 0 0 0 4 8.486V7a3.5 3.5 0 0 1 3 3.465v4.046a3.5 3.5 0 0 1-3.5 3.5z"></path>
									</g>
						</svg>
				</a>
				<a href="javascript:;" ng-click="modal_func({tovalue},'{name}','tools.add_text','add_url','core','isapp=1')">
						<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18"><path fill="#4A4A51" d="M9 .667a8.333 8.333 0 1 1 0 16.666A8.333 8.333 0 0 1 9 .667zm0 1a7.333 7.333 0 1 0 0 14.666A7.333 7.333 0 0 0 9 1.667zm2.48 2.388c1.706 0 3.092 1.248 3.092 2.799 0 1.366-1.048 2.513-2.508 2.767l-.144.002c-.437 0-.691-.32-.527-.69a.947.947 0 0 1 .666-.53c.801-.194 1.346-.82 1.346-1.55 0-.882-.843-1.602-1.896-1.602s-1.896.72-1.896 1.603v4.401c0 1.55-1.386 2.8-3.093 2.8-1.706 0-3.092-1.25-3.092-2.8 0-1.359 1.073-2.52 2.535-2.74h.117c.33 0 .57.198.57.48 0 .05-.002.072-.007.1a.379.379 0 0 1-.036.11c-.105.246-.375.459-.666.531-.796.193-1.346.815-1.346 1.52 0 .882.843 1.602 1.896 1.602s1.896-.72 1.896-1.603V6.854c0-1.55 1.386-2.8 3.093-2.8z"></path></svg>
				</a>
		</div>
		<div class="help-block" style="display:none;color:red;">{{check_show_lang('请输入','Please enter the')}}{{check_show_lang('{title}')}}</div>
		<div class="help-block">{help}</div>
	</div>
</div>
<script>
scope.pagedata.selectEmoji=function(){
	var res=function(emoji){
		scope.{tovalue}.{name} +=emoji;
	}
	scope.modal_func(res,'','tools.qqemoji','','core');
}
</script>